Trees and Languages with Periodic Signature
نویسندگان
چکیده
The signature of a labelled tree (and hence of its prefix-closed branch language) is the sequence of the degrees of the nodes of the tree in the breadth-first traversal. In a previous work, we have characterised the signatures of the regular languages. Here, the trees and languages that have the simplest possible signatures, namely the periodic ones, are characterised as the sets of representations of the integers in rational base numeration systems. For any pair of co-prime integers p and q, p > q > 1, the language L p q of representations of the integers in base pq looks chaotic and does not fit in the classical Chomsky hierarchy of formal languages. On the other hand, the most basic example given by L 3 2 , the set of representations in base 32 , exhibits a remarkable regularity: its signature is the infinite periodic sequence: 2, 1, 2, 1, 2, 1, . . . We first show that L p q has a periodic signature and the period (a sequence of q integers whose sum is p) is directly derived from the Christoffel word of slope pq . Conversely, we give a canonical way to label a tree generated by any periodic signature; its branch language then proves to be the set of representations of the integers in a rational base (determined by the period) and written with a non-canonical alphabet of digits. This language is very much of the same kind as a L p q since rational base numeration systems have the key property that, even though L p q is not regular, normalisation is realised by a finite letter-to-letter transducer.
منابع مشابه
FoolProof: A Component Toolkit for Abstract Syntax with Variable Bindings
FOOLPROOF is intended as a component toolkit for implementation of formal languages with binding structures. It provides a coherent collection of components for many common language processing tasks, in particular those related to binding structures. FOOLPROOF consists of: a meta-language for specifying signatures with variable bindings; a signature editor for constructing well-formed signature...
متن کاملBreadth-First Serialisation of Trees and Rational Languages - (Short Paper)
We present here the notion of breadth-first signature and its relationship with numeration system theory. It is the serialisation into an infinite word of an ordered infinite tree of finite degree. We study which class of languages corresponds to which class of words and, more specifically, using a known construction from numeration system theory, we prove that the signature of rational languag...
متن کاملSubtyping Constrained Types ( Draft ) Valery Trifonov
Constrained type systems are a natural generalization of Hindley/Milner type inference to languages with subtyping. This paper develops several subtyping relations on constrained types. We establish a full type abstraction property that equates an operational notion of subtyping with a semantic notion based on regular trees. The decidability of this notion of subtyping is open; we present a dec...
متن کاملThe signature of rational languages
We present here the notion of signature of trees and of languages, and its relationships with the theory of numeration systems. The signature of an ordered infinite tree (of bounded degree) is an infinite (bounded) sequence of integers, the sequence of the degrees of the nodes taken in the visit order of the canonical breadth-first traversal of the tree. A prefix-closed language defines such a ...
متن کاملRhythmic generation of infinite trees and languages
This work introduces the idea of breadth-first generation of infinite trees and languages. It is orthogonal to usual descriptions by classical objects such as automata and grammars which refer more naturally to a depth-first approach. This idea is brought into play with periodic inputs, a case that comes from the study of rational base number systems which correspond to specific inputs derived ...
متن کامل